import pytest


@pytest.mark.parametrize(
    "username,password",
    [
        ["15732069727", "q123456"],
        ["15732069725", "q123456"],
        ["15613043260", "q123456"]
    ]
)
def test_login(username, password):
    print(f"登录账号:{username},登录密码:{password}")


# 加载数据
user_info = [
    ["小优", "2025", "清华大学"],
    ["王慧敏", "2026", "家里蹲大学"],
    ["李庆", "2022", "北京大学"]
]


@pytest.mark.parametrize(
    "name,year,college",
    user_info
)
def test_info(name, year, college):
    print(f"{name},考研届数为{year},本科大学为{college}")
